import decamelize from 'decamelize'

// console.log(decamelize('duoBan'))
// console.log(decamelize('duoBan', {separator: '*'}))
// console.log(decamelize('chenWEICheng', {preserveConsecutiveUppercase: true}))
// console.log(decamelize('chenWEICheng', {preserveConsecutiveUppercase: false}))


console.log(decamelize('BbB'))
console.log(decamelize('BbB', { separator: '----' }))

const text = 'ccc'.replace(/(\p{Lowercase_Letter}\d)/gu,`$1---`)

console.log(text)


